package com.order.itemcategoryproject.utils;

import com.order.itemcategoryproject.pojo.dBlOrderDtOnline;

import java.util.ArrayList;
import java.util.List;

public class parseInfo {


    /**
     * 这个方法用来过滤导入的数据
     * @return
     */
    public static List<dBlOrderDtOnline> parseInfos(List<dBlOrderDtOnline> details) {
        List<dBlOrderDtOnline> orderDetails = new ArrayList<>();
        for (dBlOrderDtOnline detail : details) {
            if ("N".equals(detail.getIsImport())) {
                orderDetails.add(detail);
            }
        }
        return orderDetails;
    }
}
